home *** CD-ROM | disk | FTP | other *** search
- Attribute VB_Name = "modDataControl"
- Global CurrentTB As Object, gSearchField As String, gSearchArg As String, m_DataType As Integer
-
- '------------------------------------------------------------
- 'this functions adds [] to object names that might need
- 'them because they have spaces in them
- '------------------------------------------------------------
- Function AddBrackets(rObjName As String) As String
- 'add brackets to object names w/ spaces in them
- If InStr(rObjName, " ") > 0 And Mid(rObjName, 1, 1) <> "[" Then
- AddBrackets = "[" & rObjName & "]"
- Else
- AddBrackets = rObjName
- End If
- End Function
-
-